home *** CD-ROM | disk | FTP | other *** search
/ 8bitfiles.net/archives / archives.tar / archives / commodore-users-of-norman / CUON_22_(10-1984).d64 / string search 1 (.txt) < prev    next >
Commodore BASIC  |  2019-04-13  |  1KB  |  29 lines

  1. 10 REM*****************   BASIC LOADER FOR **     STRING SEARCH  ***********************
  2. 100 PRINT"[147]   STRING SEARCHER"
  3. 110 PRINT"ONE MOMENT PLEASE"
  4. 120 TP=PEEK(55)+256*PEEK(56)
  5. 130 TP=TP-186:H=INT((TP)/256):L=TP-H*256:POKE55,L:POKE56,H
  6. 140 IN=PEEK(55)+256*PEEK(56):FORC=IN TO IN+185:READI:POKEC,I:CK=CK+I:NEXT:
  7. 150 IFCK<>26449 THEN PRINT"ERROR IN DATA":END
  8. 160 REM****************** STRING SEARCH DATA**********************
  9. 180 DATA 160,17,185,216,0,153,60,3,136,208
  10. 190 DATA 247,160,9,177,45,133,217,200,177,45
  11. 200 DATA 133,218,200,177,45,133,219,24,160,2
  12. 210 DATA 177,47,101,47,105,7,133,220,200,177
  13. 220 DATA 47,101,48,133,221,160,0,24,165,47
  14. 230 DATA 105,7,133,224,165,48,105,0,133,225
  15. 240 DATA 169,0,240,12,160,17,185,60,3,153
  16. 250 DATA 216,0,136,208,247,96,24,165,224,105
  17. 260 DATA 3,133,224,165,225,105,0,133,225,160
  18. 270 DATA 0,177,224,153,229,0,200,192,3,208
  19. 280 DATA 246,24,165,220,105,2,133,220,165,221
  20. 290 DATA 105,0,133,221,165,229,240,202,208,2
  21. 300 DATA 240,210,162,0,134,227,134,226,24,165
  22. 310 DATA 217,197,226,240,31,24,165,229,197,227
  23. 320 DATA 144,37,164,226,177,218,164,227,209,230
  24. 330 DATA 208,6,230,227,230,226,208,226,230,227
  25. 340 DATA 169,0,133,226,240,218,160,0,169,1
  26. 350 DATA 145,220,200,169,0,145,220,240,197,160
  27. 360 DATA 0,152,145,220,240,242
  28. 999 PRINT"DONE":NEW
  29.